how to use prime factorization to simplify square root